from config.path_manage import *


# 环境基准地址
# BASE_URL = "http://192.168.10.164:5173"

# excel格式的测试用例文件配置
# EXCEL_FILE = "./data/测试用例完整版.xlsx"
EXCEL_FILE = get_excel_file()


SHEET_NAME = "Sheet1"


# mysql配置
# DB_HOST = "192.168.10.164"
# DB_PORT = 3306
# DB_USER = "root"
# DB_PASSWORD = "123456"
# DB_NAME = "xingyun"
# CHARSET = "utf8"
# AUTOCOMMIT = True


# mysql资源销毁
SQL1 = 'delete from base_data_store_center where code = "bm_ck_02" or code = "bm_ck_05";'
SQL2 = """DELETE FROM op_logs WHERE extra = '{"code":"bm_ck_02","name":"北梦测试仓库2"}' or extra = '{"code":"bm_ck_05","name":"北梦测试仓库5"}'"""



# # 钉钉消息的配置
# DING_WEBHOOK = "https://oapi.dingtalk.com/robot/send?access_token=72cc966653473e6e02d3300237e9e9bd0e4992fa52eda585a5eda555d719c25a"
# DING_SECRET= "SEC335320a2565d5e188d7bf3d85d260d71cbe3aaa909ca904f6e37871fc21074a2"
#
# # 测试报告的地址
# REPORT_LINK = "https://www.baidu.com/"
#
#
# # 邮件消息配置
# MAIL_USERNAME = "17396311031@163.COM"
# MAIL_PASSWORD = "KUaSj33uyT2aGnWY"
# RECIPIENTS = ["17396311031@163.com", "1661548597@qq.com"]
#
#
#
# # 企业微信配置
# CHAT_WEBHOOK = ""
# HEADERS = {"content_type": "application/json"}
#
#
# 统计测试结果，report下面json的路径
# REPORT_PATH = "./report/json_report"

REPORT_PATH = get_report_path()

# MYSQL配置文件路径
# ENVIRONMENT_INI_PATH = "./config/environment.ini"
ENVIRONMENT_INI_PATH = get_env_path()


# 消息通知相关的路径
# MESSAGE_INI_PATH = "./config/message.ini"

MESSAGE_INI_PATH = get_message_path()

# 慢接口路径
SLOW_API_PATH = get_slow_api_path()




















